home *** CD-ROM | disk | FTP | other *** search
-
- RANDO - RANDom Origin file maintenance * v1.02
-
- Written by: Don Dawson, 1:141/730 @FidoNet March, 1992
- *Revised, May, 1994
- This program is distributed under the Dinnerware concept. You
- might ask, what's Dinnerware? You might know of Shareware and
- Freeware. The Dinnerware concept is this: You don't owe me or
- anyone else a thing if you choose to use this program. However,
- take your spouse, significant other, best friend or anyone
- else you choose out to dinner. You'll enjoy it, they'll enjoy it.
-
- or
-
- Can't afford dinner? Send a Thank You note/message to the person
- that helped you set up your bbs or sent this program to you. It'll
- only take a minute.
-
- THIS MATERIAL IS DISTRIBUTED "as is" WITHOUT ANY EXPRESSED OR
- IMPLIED WARRANTY OR LIABILITY FOR DIRECT, (IN)DIRECT OR
- (IN)CONSEQUENTIAL DAMAGES. If it breaks, you own ALL the parts.
- (see SOCIAL COMMENTARY below)
-
- OVERVIEW:
-
- Why RANDO? Rando will create random ORIGIN files in each of your
- echomail areas. Some message editors (MSGED for sure) and some FidoNet
- BBS software (OPUS 1.70 and Maximus) will use this file to create a
- 'custom' origin line instead of the same one in every echo.
-
- * I had fun writing this. I've had fun using it. It appears many other
- folks are using it too. I've received requests to modify RANDO to
- process SQUISH.CFG because RANDO is (still) only capable of reading
- an AREAS.BBS file. Life goes on, there's never enough time to do all
- the things any of us would like and I have never found the time to
- add the ability to add a SQUISH.CFG option. However, there's GOOD NEWS!
-
- * Jay Kendall, the fine sysop at 1:141/338 wrote a seperate program called:
-
- SQ2AREAS: a SQUISH.CFG to AREAS.BBS converter
- Copyright (c) 1993, 1994 Jay S. Kendall
- All rights reserved.
-
- * He's given me permission to package his fine utility with RANDO so that
- everyone that's using just SQUISH.CFG can enjoy RANDO just as much as
- those that still have an "old" AREAS.BBS file. SQ2AREAS will make an
- AREAS.BBS file that RANDO can use. You say you have both a SQUISH.CFG
- *and* an AREAS.BBS? No problem. Let RANDO use your regular AREAS.BBS
- then use SQ2AREAS to make one from your SQUISH.CFG. Just be careful
- SQ2AREAS doesn't delete your "real" file by accident.
-
- * Here's what a *.BAT file might look in the worst case:
-
- * @echo off
- <run RANDO (normally) here if you have an AREAS.BBS file>
- <run SQ2AREAS to make an AREAS.BBS file from SQUISH.CFG>
- <run RANDO, using the AREAS.BBS from the above step>
- <delete the AREAS.BBS created by SQ2AREAS (see below)>
- echo Rando is done! Enjoy!
-
- * In case you wondered, there are still plenty of other fine utilities
- around that use AREAS.BBS that were written by equally busy authors
- that haven't/can't find the time to use SQUISH.CFG. Even if you don't
- use RANDO, SQ2AREAS is worth everything you paid for this file. <grin>
-
- * See the epilogue at the end of this file. Enjoy!
-
- * One last note: RANDO will still identify itself as 1.01. Only the DOCS
- have changed.
-
- SOCIAL COMMENTARY:
-
- Before going on, a word from your Sponsor. <g>
-
- The * Origin line *does* serve a purpose. It's to identify the node #
- from which an echomail message originated. Most sysops use something
- appropriate for their bbs. Here's the one my BBS uses when an echomail
- message originates from 1:141/730:
-
- * Origin: Treasure Island =HST/DS= 203-791-8532 (1:141/730)
-
- If you use RANDO, please use tasteful (humorous?) material. I don't
- recommend letting your BBS use the RANDO origin lines. Why? Although
- your material may be appropriate, there's no telling if it's appropriate
- for the context of the message that a caller writes. I only use this
- for messages that I write with my external message editor. If the Origin
- isn't appropriate for the message context, I can use the editor to change
- it. A BBS caller can't do this. Besides, how many of them read 'em
- anyway?
-
- Here's an example using an Origin from the enclosed file:
-
- A caller writes in an echomail message:
-
- I NEVER beat my wife!
-
- Your BBS adds this as an Origin:
-
- * Origin: To every exception there is a rule. (1:9999/9999)
-
- Get the idea?
-
- Enjoy!
-
- HOW IT WORKS:
-
- It will read a file (of up to 1400 lines) and randomly write an
- ORIGIN (no extension) or <areaname>.sqo (for squish areas) file into
- each echo area. Passthru echo areas are skipped (those with a # anywhere
- on the AREAS.BBS line).
-
- Note: See below if you don't have an AREAS.BBS file.
-
- Of course, it reads the AREAS.BBS to find the path to each echomail
- directory. For creative and "what's an AREAS.BBS?" users please see
- below.
-
- Because "high bit" characters (greater than ASCII 127) are frowned
- upon in any Zone 1 echomail, if the input file contains any such
- characters the characters will be replaced with a + or a -. Any lines
- longer than 44 characters will be skipped and will be written to an
- 'error file' so you can either delete them or edit them to make the
- lines shorter. Why 44 characters? Origin lines must be a single
- line. Multiple lines are not appreciated. Allowing for the beginning
- *Origin stuff and the ending (1:xxx/yyy@fidonet.org) 44 should do it.
-
- USING RANDO:
-
- You must provide two command line parameters, optionally five more,
- seperated by a space (UPPER, lower or MiXeD case are ok). If you
- run it without anything on the command line you'll get something
- like this:
-
- ╒════════════════════════════════════════════════════════╕
- │ RANDO v1.01 - Random Origin lines │
- │ (C) Copyright 1991/2 by Don Dawson 1:141/730.0@Fidonet │
- ╘════════════════════════════════════════════════════════╛
-
-
- Usage: [-a\path\filename] [-q\path\filename] [-e\path\filename]
- [-x\path\filename] [-l] [-b] [-s]
-
- -a [path and file name of AREAS.BBS]
- ex:. -ac:\misc\areas.bbs
- -q [path and file name of quotes file]
- ex: -qc:\misc\quotes.lst
- -e [path and file name of quotes error file] (optional)
- ex: -ec:\misc\rando.err
- -x [path and file name of areas to eXclude (optional)
- ex: -xc:\misc\skipem.lst
- -b BBS name from the AREAS.BBS file will be prefixed to the origin line.
- ex: -b
- -s Run silently.
- ex: -s
- -l Write rando.log containing \yourpath\ and each origin line.
- ex: -l
-
- . -A the name and path to your AREAS.BBS file (required).
-
- . -Q the name and path to the file that contains the stuff
- (famous quotes?) you want to use in your *Origin line.
- (required)
-
- . -E the name and path to a file into which you'd like all
- "errors" in your quote file written. (optional)
-
- . -X the name and path to a file containing areas you would
- like eXcluded from processing. It must be in 'areas.bbs'
- file format. As a matter of fact, you can make a copy
- of your areas.bbs file and delete or comment out the areas
- that you want included. Everything left in the file will
- be excluded. (optional)
-
- . -B This will prefix the contents of the origin file with your
- BBS name. The BBS name is the same one that's in your
- areas.bbs (probably on the first line). Everything up to
- the '!' will be included. WARNING: Your BBS name must be
- less than 44 characters. If your BBS name + a randomly
- selected line from the origin file is greater than 44
- characters, only your BBS name will be used for that origin
- file. (optional)
-
- . -S This will avoid displaying the paths to the origin line files
- as the program runs. The program will run a little quicker if
- you use this. (optional)
-
- . -L Log into RANDO.LOG each path and origin file contents.
- (optional)
-
- EXAMPLES:
-
- rando -ac:\bbs\areas.bbs -qc:\bbs\quotes.txt -s
-
- Note: No trailing backslash following the file name(s).
-
- rando -ac:\misc\myareas.bbs -qd:\stuff\myorigin.bbs -ec:\junk\errors.lst
-
- This will write 'input file errors' to the ERRORS.LST file.
-
- rando -ac:\bbs\areas.bbs -qc:\bbs\quotes.txt -b
-
- Your BBS name will be prefixed to the contents of each origin
- line in each ORIGIN file.
-
- CREATIVE USERS or "What's an areas.bbs"?
-
- An areas.bbs file looks like this:
-
- Treasure Island ! Don Dawson
- $f:\msg\141STUFF 141STUFF 141/740 701
- f:\msg\141SYSOP 141SYSOP 141/740 701
- f:\msg\4DOS 4DOS 141/740 701
- f:\msg\80XXX 80XXX 141/740 775
- f:\msg\ANEWS ANEWS # 141/565 740 123/45
- #f:\msg\ANIME ANIME 141/740 701
-
- The first line has: the BBS name, a 'space ! space', sysop name.
-
- The following lines have \yourpath and the AREATAG.
-
- The # indicates a 'passthru' area.
-
- The $ indicates a 'squishmail' area. (Yes, you can mix and match sq/msg).
-
- RANDO is really only interested in one thing, the path to the directory
- into which to write the ORIGIN file. If an area is 'passthru' (#), an
- ORIGIN file will not be created in that directory. Everything else is
- ignored.
-
- If you want to be creative, you can do this:
-
- Make two or more "fake areas.bbs" files, name them anything you want. For
- example: you might have a collection of origin lines that you want to use
- only in your sysop echos, another set in other echoes. Run RANDO once for
- each group. Like this:
-
- For the sysop echoes:
-
- rando -ac:\files\sysop.bbs -qc:\files\sysop.qte -s
- rando -ac:\files\others.bbs -qc:\files\other.qte -s
-
- Kudos to the Beta Testers:
-
- My thanks to the fine folks that took the risk and tested RANDO:
-
- Rob Schmaling, 141/765
- Steve Plain, 141/980
- Gary Snider, 141/740
- Noel Smith, 141/945
- Rudy Ramsey, 141/755
- Paul Brazil, 141/710
- Furlan Primus, 141/590
- ------------------------------------------------------------------------------
-
- Revision History:
-
- Version .01 5/25/91, the original
- .02 5/26/91, made the display different
- .03 5/28/91, added -x and -b options
- .04 never released
- .05 7/31/91, improved command line processing and an origin line
- will not be repeated as long as there are at least the same
- number (or more) of origin lines as there are areas.
- .06 7/31/91, removed test code (OOPS!). More 'error checking'
- improvements.
- .07 8/3/91, updated the docs. Thanks to Gary Snider for the
- "creative users" idea.
- . Documentation update.
- . It will now process files that contain '-' in the file
- name or path.
- . The 'errorfil' is renamed to rando.err.
- . Improved reporting of non-existent paths in the AREAS.BBS
- file.
- .08 8/7/91, minor fixes:
- . The RANDO.ERR file will only be created when there are
- errors instead of with every execution. (Thanks Furlan!)
- . Fixed a minor mite that would result in writing an empty
- ORIGIN file if there were fewer quote lines than when there
- were areas to write to.
- .09 8/8/91, minor enhancement (requested):
- . added -l command line option
- . minor documentation fixes
- .091 8/12/91, 2 mites fixed
- . if -b was selected some long origin lines were not detected.
- . the "error.log" is erased each time.
- .092 8/13/91, minor enhancements
- . The rando.log is erased each run.
- . The -s (silent) and -l (log) options are now independent
- of each other.
- . The -l option no longer lists to the screen.
- . Minor doc updates.
- .093 11/22/91
- . Will now skip Squish areas. It looks for a $ in the path
- to an echo area. Like this:
-
- $f:\msg\AVIATION AVIATION 141/740
-
- ORIGIN in not supported in Maximus 2.0 <sigh>
-
- 1.00 12/26/91
- . Well....no bug reports from anyone and none noted here. Time
- to make the plunge with a version 1.00!
- . Good news! ORIGIN *is* supported in Maximus 2.0. It's an
- un-documented feature. RANdO will now create an ?.sqo for
- each squish area. I don't know how to get Maximus itself
- to use ?.sqo, but stand alone message editors should.
- . For each line in AREAS.BBS that begins with a $, the ?.sqo
- will be created. For example, this area:
-
- $f:\om\AVIATION AVIATION 141/740
-
- will have an AVIATION.SQO file created in the same directory
- as all of the other AVIATION.SQ? files.
-
- . Minor DOC update.
- 1.01 3/8/92
- . The 'randomness' is improved. Some kind soul uploaded a neat
- randomizing algorithm to my BBS. It's much better.
- . The # of lines in the ORIGIN.LST file increased from 1000 to
- 1400. This is for all of you running around the echoes with
- your origin line butterfly net and adding them to your file.
- . The number of areas that can be eXcluded is lowered from 1000
- to 200. That should be enough, no?
- . If a path to a message area can't be found or there's no
- corresponding squish<areaname>.* files, the program will
- complain by beeping but it will continue to run.
- . There's only been one bug reported since RANDO was first
- released. The sysop and I exchanged several netmail messages
- trying to diagose it. His areas.bbs file had some 'strange
- stuff' in it. He fixed it, problem went away.
- 1.02 5/19/94
- . Ok, I'm LAZY! Jay Kendall [Hi Jay!] gave me permission to
- package his fine utility with RANDO so I could re-release
- RANDO for all the fine sysops that only use a SQUISH.CFG.
- Thank goodness fine folks like Scott Dudley, Jay Kendall and
- others are still out there developing fine toys for all of
- us that enjoy this fine hobby. My hat is off to them!
- Thanks guys.
-
- Epilogue:
-
- As a newbee sysop some years ago, I was (and still am) amazed at how FidoNet
- works. There were around 8,000 sysops in the nodelist, there are now about
- 30,000. There are thousands of points and scores of thousands of QWK mail
- users on FidoNet and OtherNet BBS' around the globe. My first BBS ran OPUS
- version 0.0 and little did I know at the time that it was taking FidoNet by
- storm. Die hard Fido users were dumping Fido V11.something (I think)
- faster than you can say supercalifragilisticexpalidocious. The aledged
- Information Highway has (almost) nothing on FidoNet.
-
- It was about this time that someone said "Hey, if we can pass all these files
- around that contain echomail, why can't we pass around the files that everyone
- uses to run their BBS?". Out of this simple question SDS was born. SDS, in
- case you wondered is Software Distribution System. So...a bunch of people,
- quick to rally around a wonderful idea, said YES, YES, YES! I had the good
- fortune to be the original Region 16 SDS co-ordinator. Once the
- "organization" was in place we all sent netmail to each other and said, "Ok,
- now what? How are we going to distribute this stuff". <laughing>
-
- Ron Bemis, always the opportunist, quickly wrote FLEA. As soon as he used
- us all to get out the major bugs, he put in an annoying feature to encourage
- everyone to register FLEA. I sent Ron my $10 (maybe $20) and received netmail
- telling me how I could call Dallas, Texas and download my registered version
- of his fine utility. Of course, I called. Getting in to his BBS with all
- the "cute" security he had in place (I'm not a terrific typist) was worse
- (I imagine) then trying to break into Fort Knox. Each time I screwed up
- and mis-typed something his BBS would hang up. After the 3rd failed attempt
- I simply gave up and sent him CRASH NETMAIL (there was no LPM then) and told
- him where he could put his registered version of FLEA. Wherever it was, I
- don't think you'll find sunshine.
-
- Anyway...somehow Barry Geller volunteered to write TICK (Get it? FLEA - TICK).
- Barry is one of the (many) unsung heroes of FidoNet. He's very talented
- and always a gentleman. Thank you , for the millionth time, Barry! Thank
- you too to George Peace for his wonderful companion RAID program.
-
- So...SDS was off and running. Every day at least one new toy arrived
- on Treasure Island, often several. These wonderful files then went to many
- other systems in Region 16 (New England). File echoes were born. The fine
- creative and programming talents of hundreds of sysops (and non-sysops) were
- readily available around the world. Another FidoNet communication wonder!
- I forget some of the details, but the Dallas phone system was crippled
- the day Wynn Wagner released his much sought after new OPUS version. So many
- calls were coming into Dallas from sysops around the world file requesting
- the new OPUS version that it shutdown phone communications in Dallas. Wynn
- wisely decided to use SDS and actually released his next OPUS version a few
- days early to prevent a reoccurance.
-
- Anyway, SDS flourished for several years. For reasons I can only guess,
- it is no longer a credible distribution method for wonderful new BBS toys.
- Although I've tried, as a former SDS RC, to get the attention of the current
- SDS folks it (my efforts and SDS) has failed miserably. I see that Mark
- Woolworth has "adopted" BBS file distribution into UTILNET2. In part,
- UTILNET2 will now distribute:
-
- Areas UTL-GATE 0 ! DOS BBS Mail Gating Utilities
- Areas UTL-MAIL 0 ! DOS BBS Mailers
- Areas UTL-MSG 0 ! DOS BBS Message Handling Utilities
- Areas UTL-NLST 0 ! DOS BBS Nodelist Compilers and Utilities
- Areas UTL-PNT 0 ! DOS BBS Point Utilities
- Areas UTL-PROG 0 ! DOS BBS Programs
- Areas UTL-READ 0 ! DOS Sysop/Point Mail Readers
- Areas UTL-TIC 0 ! DOS BBS File Handling Utilities
- Areas UTL-OBBS 0 ! DOS BBS Other Utilities
-
- So...if you're reading this, chances are it arrived on your BBS via UTILNET2.
- Some may receive it via SDS, but not many, it seems.
-
- This is the last file I attempt to distribute via SDS. Hello UTILNET2!
-
- Thanks Mark!
-
- Thanks to Tom Hendricks and to all the current SDS folks too!:
-
- Region 10 SDS Coordinator: Diane Farrell Smith, 1:161/7
- Region 11 SDS Coordinator: Terry Fields, 1:231/40
- Region 12 SDS Coordinator: Ken Wilson, 1:163/211
- Region 13 SDS Coordinator: Barry Geller, 1:266/12
- Region 14 SDS Coordinator: John Rickey, 1:280/2
- Region 15 SDS Coordinator: Jim Hansel, 1:260/400
- Region 16 SDS Coordinator: Gordon Green, 1:132/119
- Region 17 SDS Coordinator: Frank Cox, 1:140/53
- Region 18 SDS Coordinator: *** Open ***
- Region 19 SDS Coordinator: Bob Juge, 1:106/2000
-
- Overall SDS Coordinator: Tom Hendricks, 1:261/662
-
- and to those that made it work so well for so long. Thanks too to all
- the program authors and doc writers that used SDS. I hope you embrace
- UTILNET2 with the same passion that you once embraced SDS. Waking up in
- the morning to find another new toy that automagically arrived on the BBS
- beats reading thousands of echomail messages to find there's something new
- and then having to file request it, probably long distance. Gawd, isn't
- Planet Connect wonderful?
-
- Don Dawson
- 1:141/730@fidonet.org
- May, 1994